package top.aiprogram.attend.vo;

import org.springframework.stereotype.Component;
import top.aiprogram.common.page.PageQueryBean;

/**
 * Created by HP on 2018/10/17.
 */
/*
@Author JackQi {www.coder520.com}
@DATE 2018/10/17 19:02
@Description:设置这个类的原因是,如果查询只输入起始页,使用pageQueryBean当参数使用是足够的,但是当
前端查询的时候,需要一定的条件的时候,这时候就需要加入一些条件,因此创建此类,让他具有pageQueryBean的
属性,另外自己再添加一些条件参数.
*/

public class QueryCondition extends PageQueryBean {
    //额外设置这两个查询参数就足够了,对于考勤查询页面
    private Long userId;
    private String startDate;
    private String endDate;
    private String rangeDate;
    private Byte attendStatus;

    public String getRangeDate() {
        return rangeDate;
    }

    public void setRangeDate(String rangeDate) {
        this.rangeDate = rangeDate;
    }

    public Byte getAttendStatus() {
        return attendStatus;
    }

    public void setAttendStatus(Byte attendStatus) {
        this.attendStatus = attendStatus;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
